package com.jk.mapper;

import com.jk.bean.Author;
import com.jk.bean.GZDu;
import com.jk.bean.TuTu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GZMapper {

    List<GZDu> queryAllGZdu(String  userid);

    List<TuTu> queryLunBoTu();

    List<TuTu> queryBaoXiao();

    List<TuTu> queryShenDuYueDu();

    void tuiJian(TuTu tu);

    List<TuTu> boWenPaiHang();

    List<Author> queryNamePaiXu();

    void updateGZ(@Param("aid") String aid,@Param("sta") Integer sta,@Param("ys") String  ys);

    List<Author> queryUpDown();

    int downWeiZhi(@Param("aid") String aid);

    int upWeiZhi(@Param("aid")String aid);

    int jiaoHuanID(@Param("wz") int weizhi);

    int jiaoHuanNum(@Param("jcid") int jcid);

    void jiaoHuanOne(@Param("aid") String aid,@Param("num") int jhxuhao);

    void zhiDing(@Param("aid") Integer aid,@Param("aa")  int aa);
}
